package com.vq3.digitalizationsoftwareintegrates.Entity.Spot_Check;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.util.Base64;


@Data
@TableName("s_c_point_content")
public class S_C_Point_ContentEntity {
    @TableId(value = "point_content_id",type = IdType.AUTO)
    private Integer PointContentId;
    @TableField("point_content")
    private String pointContent;
    //标准图片，不往mysql存，存Mongo后数据库只存地址
    @TableField(exist = false)
    private MultipartFile point_Content_standardImage;
    //这个存mysql
    @TableField("point_Content_standard")
    private String pointContentStandard;
    @TableField(exist = false)
    private byte[] ImgBytes;
    //存的是uuid码，取图片的时候加上。JPEG取的就是唯一的图片
    @TableField(exist = false)
    private String ImageName;
    @TableField(exist = false)
    private String ImageBase64;

    @TableField("point_name")
    private String pointName;

    @TableField("sc_fun")
    private String scFun;
    @TableField("sc_benchmark")
    private String scBenchmark;

    @TableField("sc_deletestatus")
    private int scDeletestatus;


}
